<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CMSIS-Driver: Ethernet Interface</title>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="tabs.js"></script>
<script type="text/javascript" src="footer.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/javascript" src="darkmode_toggle.js"></script>
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
<link href="extra_search.css" rel="stylesheet" type="text/css"/>
<link href="extra_tabs.css" rel="stylesheet" type="text/css"/>
<link href="version.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../version.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 55px;">
  <td id="projectlogo" style="padding: 1.5em;"><img alt="Logo" src="cmsis_logo_white_small.png"/></td>
  <td style="padding-left: 1em; padding-bottom: 1em;padding-top: 1em;">
   <div id="projectname">CMSIS-Driver
   &#160;<span id="projectnumber"><script type="text/javascript">
     <!--
     writeHeader.call(this);
     writeVersionDropdown.call(this, "CMSIS-Driver");
     //-->
    </script>
   </span>
   </div>
   <div id="projectbrief">Peripheral Interface for Middleware and Application Code</div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
  <!--END !PROJECT_NAME-->
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
  <ul class="tablist">
    <script type="text/javascript">
      writeComponentTabs.call(this);
    </script>
  </ul>
</div>
<script type="text/javascript">
  writeSubComponentTabs.call(this);
</script>
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__eth__interface__gr.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">Content</a> &#124;
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle"><div class="title">Ethernet Interface</div></div>
</div><!--header-->
<div class="contents">

<p>Ethernet common definitions (Driver_ETH.h)  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="groups" name="groups"></a>
Content</h2></td></tr>
<tr class="memitem:group__eth__interface__types1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__eth__interface__types1.html">Media Interface Types</a></td></tr>
<tr class="memdesc:group__eth__interface__types1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ethernet Media Interface type. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__eth__mac__interface__gr"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__eth__mac__interface__gr.html">Ethernet MAC Interface</a></td></tr>
<tr class="memdesc:group__eth__mac__interface__gr"><td class="mdescLeft">&#160;</td><td class="mdescRight">Driver API for Ethernet MAC Peripheral (Driver_ETH_MAC.h) <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__eth__phy__interface__gr"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__eth__phy__interface__gr.html">Ethernet PHY Interface</a></td></tr>
<tr class="memdesc:group__eth__phy__interface__gr"><td class="mdescLeft">&#160;</td><td class="mdescRight">Driver API for Ethernet PHY Peripheral (Driver_ETH_PHY.h) <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structARM__ETH__LINK__INFO"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__eth__interface__gr.html#structARM__ETH__LINK__INFO">ARM_ETH_LINK_INFO</a></td></tr>
<tr class="memdesc:structARM__ETH__LINK__INFO"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ethernet link information.  <a href="group__eth__interface__gr.html#structARM__ETH__LINK__INFO">More...</a><br /></td></tr>
<tr class="separator:structARM__ETH__LINK__INFO"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structARM__ETH__MAC__ADDR"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__eth__interface__gr.html#structARM__ETH__MAC__ADDR">ARM_ETH_MAC_ADDR</a></td></tr>
<tr class="memdesc:structARM__ETH__MAC__ADDR"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ethernet MAC Address.  <a href="group__eth__interface__gr.html#structARM__ETH__MAC__ADDR">More...</a><br /></td></tr>
<tr class="separator:structARM__ETH__MAC__ADDR"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gacf7db5320eb841b462a4af3c56cc9291"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291">ARM_ETH_LINK_STATE</a> { <br />
&#160;&#160;<a class="el" href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291a5f635c9352db6cb6fa9ad95660850487">ARM_ETH_LINK_DOWN</a>
, <br />
&#160;&#160;<a class="el" href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291ab5e5b02c3c8a5a0fefcf69f3be7e31c1">ARM_ETH_LINK_UP</a>
<br />
 }</td></tr>
<tr class="memdesc:gacf7db5320eb841b462a4af3c56cc9291"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ethernet link state.  <a href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291">More...</a><br /></td></tr>
<tr class="separator:gacf7db5320eb841b462a4af3c56cc9291"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<p>Ethernet common definitions (Driver_ETH.h) </p>
<p><b>Ethernet</b> is a networking technology for exchanging data packages between computer systems. Several microcontrollers integrate an Ethernet MAC (Media Access Control) data-link layer that interfaces to an Ethernet PHY (Physical Interface Transceiver).</p>
<p>Wikipedia offers more information about the <a href="https://en.wikipedia.org/wiki/Ethernet" target="_blank"><b>Ethernet</b></a>.</p>
<p><b>Block Diagram</b></p>
<p>The Ethernet PHY connects typically to the Ethernet MAC using an MII (Media Independent Interface) or RMII (Reduced Media Independent Interface).</p>
<p><br  />
</p><div class="image">
<img src="EthernetSchematic.png" alt=""/>
<div class="caption">
Block Diagram of a typical Ethernet Interface</div></div>
<p><b>Ethernet API</b></p>
<p>The following header files define the Application Programming Interface (API) for the <b>Ethernet</b> interface:</p><ul>
<li><b>Driver_ETH.h</b> : Common definitions of the Ethernet PHY and MAC part</li>
<li><b>Driver_ETH_MAC.h</b> : API for the Ethernet MAC</li>
<li><b>Driver_ETH_PHY.h</b> : API for the Ethernet PHY</li>
</ul>
<p>The driver implementation of the Ethernet MAC is a typical part of a Device Family Pack (DFP) that supports the peripherals of the microcontroller family. The driver implementation of the Ethernet PHY is a typical part of a <b>Network</b> Software Pack, since PHY is typically not integrated into the microcontroller.</p>
<dl class="section note"><dt>Note</dt><dd>For parameters, the value marked with (default) is the setting after the driver initialization.</dd></dl>
<p><b>Driver Functions</b></p>
<p>The driver functions are published in the access struct as explained in <a class="el" href="theoryOperation.html#DriverFunctions">Common Driver Functions</a></p><ul>
<li><a class="el" href="group__eth__mac__interface__gr.html#structARM__DRIVER__ETH__MAC">ARM_DRIVER_ETH_MAC</a> : access struct for <b>Ethernet MAC</b> driver functions.</li>
<li><a class="el" href="group__eth__phy__interface__gr.html#structARM__DRIVER__ETH__PHY">ARM_DRIVER_ETH_PHY</a> : access struct for <b>Ethernet PHY</b> driver functions.</li>
</ul>
<p>Both drivers are used in combination and usually the Ethernet MAC provides a media interface to the Ethernet PHY. A typical setup sequence for the drivers is shown below:</p>
<p><b>Example Code</b></p>
<p>The following example code shows the usage of the Ethernet interface.</p>
<div class="fragment"><div class="line"><span class="keyword">extern</span> <a class="code hl_struct" href="group__eth__mac__interface__gr.html#structARM__DRIVER__ETH__MAC">ARM_DRIVER_ETH_MAC</a> Driver_ETH_MAC0;</div>
<div class="line"><span class="keyword">extern</span> <a class="code hl_struct" href="group__eth__phy__interface__gr.html#structARM__DRIVER__ETH__PHY">ARM_DRIVER_ETH_PHY</a> Driver_ETH_PHY0;</div>
<div class="line"> </div>
<div class="line"><span class="keyword">static</span> <a class="code hl_struct" href="group__eth__mac__interface__gr.html#structARM__DRIVER__ETH__MAC">ARM_DRIVER_ETH_MAC</a> *mac;</div>
<div class="line"><span class="keyword">static</span> <a class="code hl_struct" href="group__eth__phy__interface__gr.html#structARM__DRIVER__ETH__PHY">ARM_DRIVER_ETH_PHY</a> *phy;</div>
<div class="line"><span class="keyword">static</span> <a class="code hl_struct" href="group__eth__interface__gr.html#structARM__ETH__MAC__ADDR">ARM_ETH_MAC_ADDR</a>          own_mac_address;</div>
<div class="line"><span class="keyword">static</span> <a class="code hl_struct" href="group__eth__mac__interface__gr.html#structARM__ETH__MAC__CAPABILITIES">ARM_ETH_MAC_CAPABILITIES</a>  capabilities;</div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">void</span> ethernet_mac_notify (uint32_t event)  {</div>
<div class="line">  <span class="keywordflow">switch</span> (event)  {</div>
<div class="line">     :</div>
<div class="line">  }  </div>
<div class="line">}</div>
<div class="line"> </div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">void</span> initialize_ethernet_interface (<span class="keywordtype">void</span>) {</div>
<div class="line">  mac = &amp;Driver_ETH_MAC0;</div>
<div class="line">  phy = &amp;Driver_ETH_PHY0;</div>
<div class="line"> </div>
<div class="line">  <span class="comment">// Initialize Media Access Controller</span></div>
<div class="line">  capabilities = mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a738cc36f2a26e9737578feed6a2b6371">GetCapabilities</a> ();</div>
<div class="line">   </div>
<div class="line">  mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#ac9d6637a5cf6af0428dbf9a0bd70c26c">Initialize</a> (ethernet_mac_notify);</div>
<div class="line">  mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a24ebae5c6011631f76027f9a16eaf5ce">PowerControl</a> (<a class="code hl_enumvalue" href="Driver__Common_8h.html#ga47d6d7c31f88f3b8ae4aaf9d8444afa5abed52b77a9ce4775570e44a842b1295e">ARM_POWER_FULL</a>);</div>
<div class="line"> </div>
<div class="line">  <span class="keywordflow">if</span> (capabilities.<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a7fdea04bacd9c0e12792751055ef6238">mac_address</a> == 0)  {</div>
<div class="line">    <span class="comment">// populate own_mac_address with the address to use</span></div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#abcdd3fdadfe2677b657e0a09f779788a">SetMacAddress</a>(&amp;own_mac_address);</div>
<div class="line">  }</div>
<div class="line">  <span class="keywordflow">else</span> {</div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a3b9d1aa56399eb826f04b9afe37a9052">GetMacAddress</a>(&amp;own_mac_address);</div>
<div class="line">  }</div>
<div class="line"> </div>
<div class="line">  <span class="comment">// Initialize Physical Media Interface</span></div>
<div class="line">  <span class="keywordflow">if</span> (phy-&gt;<a class="code hl_variable" href="group__eth__phy__interface__gr.html#a075963ee0204bfe96ee500c90370d196">Initialize</a> (mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#ac3b9790428e186ea7809c7bdf32d2c66">PHY_Read</a>, mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a5e5913d9ea17b5c3baea8580ec5fa3d9">PHY_Write</a>) == <a class="code hl_define" href="group__execution__status.html#ga85752c5de59e8adeb001e35ff5be6be7">ARM_DRIVER_OK</a>) {</div>
<div class="line">    phy-&gt;<a class="code hl_variable" href="group__eth__phy__interface__gr.html#a24ebae5c6011631f76027f9a16eaf5ce">PowerControl</a> (<a class="code hl_enumvalue" href="Driver__Common_8h.html#ga47d6d7c31f88f3b8ae4aaf9d8444afa5abed52b77a9ce4775570e44a842b1295e">ARM_POWER_FULL</a>);</div>
<div class="line">    phy-&gt;<a class="code hl_variable" href="group__eth__phy__interface__gr.html#a9d26ef49db500c351debea73257d2dcf">SetInterface</a> (capabilities.<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a3c5cb74e086417a01d0079f847a3fc8d">media_interface</a>);</div>
<div class="line">    phy-&gt;<a class="code hl_variable" href="group__eth__phy__interface__gr.html#a1ed7a1889ba8d4cd2ff02791a18b19db">SetMode</a> (<a class="code hl_define" href="group__eth__phy__mode__ctrls.html#ga6a8c54f8fed3e5f68bd04eb715d10ab9">ARM_ETH_PHY_AUTO_NEGOTIATE</a>);</div>
<div class="line">  }</div>
<div class="line">    :</div>
<div class="line">    :</div>
<div class="line">}</div>
<div class="line"> </div>
<div class="line"> </div>
<div class="line"><span class="keyword">static</span> <a class="code hl_enumeration" href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291">ARM_ETH_LINK_STATE</a> ethernet_link;   <span class="comment">// current link status</span></div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">void</span> ethernet_check_link_status (<span class="keywordtype">void</span>) {</div>
<div class="line">  <a class="code hl_enumeration" href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291">ARM_ETH_LINK_STATE</a> link;</div>
<div class="line"> </div>
<div class="line">  link = phy-&gt;<a class="code hl_variable" href="group__eth__phy__interface__gr.html#ad3ed7f0f95328d4a0224e44b04ad0163">GetLinkState</a> ();</div>
<div class="line">  <span class="keywordflow">if</span> (link == ethernet_link) {    </div>
<div class="line">    <span class="keywordflow">return</span>;                                <span class="comment">// link state unchanged</span></div>
<div class="line">  }</div>
<div class="line">                                           <span class="comment">// link state changed</span></div>
<div class="line">  ethernet_link = link;   </div>
<div class="line">  <span class="keywordflow">if</span> (link == <a class="code hl_enumvalue" href="Driver__ETH_8h.html#gacf7db5320eb841b462a4af3c56cc9291ab5e5b02c3c8a5a0fefcf69f3be7e31c1">ARM_ETH_LINK_UP</a>) {      <span class="comment">// start transfer</span></div>
<div class="line">    <a class="code hl_struct" href="group__eth__interface__gr.html#structARM__ETH__LINK__INFO">ARM_ETH_LINK_INFO</a> info = phy-&gt;<a class="code hl_variable" href="group__eth__phy__interface__gr.html#a8e20e8e50e3acaa52c8c9039b1e4d281">GetLinkInfo</a> ();</div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a5e96d73d3a3c366aba50bf5304edb029">Control</a>(<a class="code hl_define" href="group__eth__mac__ctrls.html#ga7819c7a1aa7bbc13dc42d0fd7e75a23c">ARM_ETH_MAC_CONFIGURE</a>,</div>
<div class="line">                 info.<a class="code hl_variable" href="group__eth__interface__gr.html#a220859a8b5da0232739a11cbe7f79fc5">speed</a>  &lt;&lt; <a class="code hl_define" href="Driver__ETH__MAC_8h.html#ad7fd5c5f4d4f39a56466c2d34cb699ef">ARM_ETH_MAC_SPEED_Pos</a>  |</div>
<div class="line">                 info.<a class="code hl_variable" href="group__eth__interface__gr.html#a44b6cae894d7311dcdae7e93969c3c09">duplex</a> &lt;&lt; <a class="code hl_define" href="Driver__ETH__MAC_8h.html#a245688f6265e8d017435dc6d2c233b87">ARM_ETH_MAC_DUPLEX_Pos</a> |</div>
<div class="line">                 <a class="code hl_define" href="group__eth__mac__configuration__ctrls.html#ga43792feab641c3c87eafb943351ab0f4">ARM_ETH_MAC_ADDRESS_BROADCAST</a>);</div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a5e96d73d3a3c366aba50bf5304edb029">Control</a>(<a class="code hl_define" href="group__eth__mac__ctrls.html#ga3a98c8a7ee5ed4b1ffd250eecaeefe5c">ARM_ETH_MAC_CONTROL_TX</a>, 1);</div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a5e96d73d3a3c366aba50bf5304edb029">Control</a>(<a class="code hl_define" href="group__eth__mac__ctrls.html#gae0964364b81b38b6e1fbf7196f3be869">ARM_ETH_MAC_CONTROL_RX</a>, 1);</div>
<div class="line">  }</div>
<div class="line">  <span class="keywordflow">else</span> {                                   <span class="comment">// stop transfer</span></div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a5e96d73d3a3c366aba50bf5304edb029">Control</a>(<a class="code hl_define" href="group__eth__mac__ctrls.html#ga530812ef349a2e297f23de72e660fe27">ARM_ETH_MAC_FLUSH</a>, <a class="code hl_define" href="group__eth__mac__flush__flag__ctrls.html#ga2d10ff33f4f4927820c6a17a2262b120">ARM_ETH_MAC_FLUSH_TX</a> | <a class="code hl_define" href="group__eth__mac__flush__flag__ctrls.html#gac18950811038319960756f063e1ef6d4">ARM_ETH_MAC_FLUSH_RX</a>);</div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a5e96d73d3a3c366aba50bf5304edb029">Control</a>(<a class="code hl_define" href="group__eth__mac__ctrls.html#ga3a98c8a7ee5ed4b1ffd250eecaeefe5c">ARM_ETH_MAC_CONTROL_TX</a>, 0);</div>
<div class="line">    mac-&gt;<a class="code hl_variable" href="group__eth__mac__interface__gr.html#a5e96d73d3a3c366aba50bf5304edb029">Control</a>(<a class="code hl_define" href="group__eth__mac__ctrls.html#gae0964364b81b38b6e1fbf7196f3be869">ARM_ETH_MAC_CONTROL_RX</a>, 0);</div>
<div class="line">  }</div>
<div class="line">}</div>
<div class="ttc" id="aDriver__Common_8h_html_ga47d6d7c31f88f3b8ae4aaf9d8444afa5abed52b77a9ce4775570e44a842b1295e"><div class="ttname"><a href="Driver__Common_8h.html#ga47d6d7c31f88f3b8ae4aaf9d8444afa5abed52b77a9ce4775570e44a842b1295e">ARM_POWER_FULL</a></div><div class="ttdeci">@ ARM_POWER_FULL</div><div class="ttdoc">Power on: full operation at maximum performance.</div><div class="ttdef"><b>Definition:</b> Driver_Common.h:66</div></div>
<div class="ttc" id="aDriver__ETH_8h_html_gacf7db5320eb841b462a4af3c56cc9291ab5e5b02c3c8a5a0fefcf69f3be7e31c1"><div class="ttname"><a href="Driver__ETH_8h.html#gacf7db5320eb841b462a4af3c56cc9291ab5e5b02c3c8a5a0fefcf69f3be7e31c1">ARM_ETH_LINK_UP</a></div><div class="ttdeci">@ ARM_ETH_LINK_UP</div><div class="ttdoc">Link is up.</div><div class="ttdef"><b>Definition:</b> Driver_ETH.h:68</div></div>
<div class="ttc" id="aDriver__ETH__MAC_8h_html_a245688f6265e8d017435dc6d2c233b87"><div class="ttname"><a href="Driver__ETH__MAC_8h.html#a245688f6265e8d017435dc6d2c233b87">ARM_ETH_MAC_DUPLEX_Pos</a></div><div class="ttdeci">#define ARM_ETH_MAC_DUPLEX_Pos</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:86</div></div>
<div class="ttc" id="aDriver__ETH__MAC_8h_html_ad7fd5c5f4d4f39a56466c2d34cb699ef"><div class="ttname"><a href="Driver__ETH__MAC_8h.html#ad7fd5c5f4d4f39a56466c2d34cb699ef">ARM_ETH_MAC_SPEED_Pos</a></div><div class="ttdeci">#define ARM_ETH_MAC_SPEED_Pos</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:81</div></div>
<div class="ttc" id="agroup__eth__interface__gr_html_a220859a8b5da0232739a11cbe7f79fc5"><div class="ttname"><a href="group__eth__interface__gr.html#a220859a8b5da0232739a11cbe7f79fc5">ARM_ETH_LINK_INFO::speed</a></div><div class="ttdeci">uint32_t speed</div><div class="ttdoc">Link speed: 0= 10 MBit, 1= 100 MBit, 2= 1 GBit.</div><div class="ttdef"><b>Definition:</b> Driver_ETH.h:75</div></div>
<div class="ttc" id="agroup__eth__interface__gr_html_a44b6cae894d7311dcdae7e93969c3c09"><div class="ttname"><a href="group__eth__interface__gr.html#a44b6cae894d7311dcdae7e93969c3c09">ARM_ETH_LINK_INFO::duplex</a></div><div class="ttdeci">uint32_t duplex</div><div class="ttdoc">Duplex mode: 0= Half, 1= Full.</div><div class="ttdef"><b>Definition:</b> Driver_ETH.h:76</div></div>
<div class="ttc" id="agroup__eth__interface__gr_html_gacf7db5320eb841b462a4af3c56cc9291"><div class="ttname"><a href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291">ARM_ETH_LINK_STATE</a></div><div class="ttdeci">ARM_ETH_LINK_STATE</div><div class="ttdoc">Ethernet link state.</div><div class="ttdef"><b>Definition:</b> Driver_ETH.h:66</div></div>
<div class="ttc" id="agroup__eth__interface__gr_html_structARM__ETH__LINK__INFO"><div class="ttname"><a href="group__eth__interface__gr.html#structARM__ETH__LINK__INFO">ARM_ETH_LINK_INFO</a></div><div class="ttdoc">Ethernet link information.</div><div class="ttdef"><b>Definition:</b> Driver_ETH.h:74</div></div>
<div class="ttc" id="agroup__eth__interface__gr_html_structARM__ETH__MAC__ADDR"><div class="ttname"><a href="group__eth__interface__gr.html#structARM__ETH__MAC__ADDR">ARM_ETH_MAC_ADDR</a></div><div class="ttdoc">Ethernet MAC Address.</div><div class="ttdef"><b>Definition:</b> Driver_ETH.h:83</div></div>
<div class="ttc" id="agroup__eth__mac__configuration__ctrls_html_ga43792feab641c3c87eafb943351ab0f4"><div class="ttname"><a href="group__eth__mac__configuration__ctrls.html#ga43792feab641c3c87eafb943351ab0f4">ARM_ETH_MAC_ADDRESS_BROADCAST</a></div><div class="ttdeci">#define ARM_ETH_MAC_ADDRESS_BROADCAST</div><div class="ttdoc">Accept frames with Broadcast address.</div></div>
<div class="ttc" id="agroup__eth__mac__ctrls_html_ga3a98c8a7ee5ed4b1ffd250eecaeefe5c"><div class="ttname"><a href="group__eth__mac__ctrls.html#ga3a98c8a7ee5ed4b1ffd250eecaeefe5c">ARM_ETH_MAC_CONTROL_TX</a></div><div class="ttdeci">#define ARM_ETH_MAC_CONTROL_TX</div><div class="ttdoc">Transmitter; arg: 0=disabled (default), 1=enabled.</div></div>
<div class="ttc" id="agroup__eth__mac__ctrls_html_ga530812ef349a2e297f23de72e660fe27"><div class="ttname"><a href="group__eth__mac__ctrls.html#ga530812ef349a2e297f23de72e660fe27">ARM_ETH_MAC_FLUSH</a></div><div class="ttdeci">#define ARM_ETH_MAC_FLUSH</div><div class="ttdoc">Flush buffer; arg = ARM_ETH_MAC_FLUSH_...</div></div>
<div class="ttc" id="agroup__eth__mac__ctrls_html_ga7819c7a1aa7bbc13dc42d0fd7e75a23c"><div class="ttname"><a href="group__eth__mac__ctrls.html#ga7819c7a1aa7bbc13dc42d0fd7e75a23c">ARM_ETH_MAC_CONFIGURE</a></div><div class="ttdeci">#define ARM_ETH_MAC_CONFIGURE</div><div class="ttdoc">Configure MAC; arg = configuration.</div></div>
<div class="ttc" id="agroup__eth__mac__ctrls_html_gae0964364b81b38b6e1fbf7196f3be869"><div class="ttname"><a href="group__eth__mac__ctrls.html#gae0964364b81b38b6e1fbf7196f3be869">ARM_ETH_MAC_CONTROL_RX</a></div><div class="ttdeci">#define ARM_ETH_MAC_CONTROL_RX</div><div class="ttdoc">Receiver; arg: 0=disabled (default), 1=enabled.</div></div>
<div class="ttc" id="agroup__eth__mac__flush__flag__ctrls_html_ga2d10ff33f4f4927820c6a17a2262b120"><div class="ttname"><a href="group__eth__mac__flush__flag__ctrls.html#ga2d10ff33f4f4927820c6a17a2262b120">ARM_ETH_MAC_FLUSH_TX</a></div><div class="ttdeci">#define ARM_ETH_MAC_FLUSH_TX</div><div class="ttdoc">Flush Transmit buffer.</div></div>
<div class="ttc" id="agroup__eth__mac__flush__flag__ctrls_html_gac18950811038319960756f063e1ef6d4"><div class="ttname"><a href="group__eth__mac__flush__flag__ctrls.html#gac18950811038319960756f063e1ef6d4">ARM_ETH_MAC_FLUSH_RX</a></div><div class="ttdeci">#define ARM_ETH_MAC_FLUSH_RX</div><div class="ttdoc">Flush Receive buffer.</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_a24ebae5c6011631f76027f9a16eaf5ce"><div class="ttname"><a href="group__eth__mac__interface__gr.html#a24ebae5c6011631f76027f9a16eaf5ce">ARM_DRIVER_ETH_MAC::PowerControl</a></div><div class="ttdeci">int32_t(* PowerControl)(ARM_POWER_STATE state)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_PowerControl : Control Ethernet MAC Device Power.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:290</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_a3b9d1aa56399eb826f04b9afe37a9052"><div class="ttname"><a href="group__eth__mac__interface__gr.html#a3b9d1aa56399eb826f04b9afe37a9052">ARM_DRIVER_ETH_MAC::GetMacAddress</a></div><div class="ttdeci">int32_t(* GetMacAddress)(ARM_ETH_MAC_ADDR *ptr_addr)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_GetMacAddress : Get Ethernet MAC Address.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:291</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_a3c5cb74e086417a01d0079f847a3fc8d"><div class="ttname"><a href="group__eth__mac__interface__gr.html#a3c5cb74e086417a01d0079f847a3fc8d">ARM_ETH_MAC_CAPABILITIES::media_interface</a></div><div class="ttdeci">uint32_t media_interface</div><div class="ttdoc">Ethernet Media Interface type.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:272</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_a5e5913d9ea17b5c3baea8580ec5fa3d9"><div class="ttname"><a href="group__eth__mac__interface__gr.html#a5e5913d9ea17b5c3baea8580ec5fa3d9">ARM_DRIVER_ETH_MAC::PHY_Write</a></div><div class="ttdeci">int32_t(* PHY_Write)(uint8_t phy_addr, uint8_t reg_addr, uint16_t data)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_PHY_Write : Write Ethernet PHY Register through Management Interface.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:302</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_a5e96d73d3a3c366aba50bf5304edb029"><div class="ttname"><a href="group__eth__mac__interface__gr.html#a5e96d73d3a3c366aba50bf5304edb029">ARM_DRIVER_ETH_MAC::Control</a></div><div class="ttdeci">int32_t(* Control)(uint32_t control, uint32_t arg)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_Control : Control Ethernet Interface.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:300</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_a738cc36f2a26e9737578feed6a2b6371"><div class="ttname"><a href="group__eth__mac__interface__gr.html#a738cc36f2a26e9737578feed6a2b6371">ARM_DRIVER_ETH_MAC::GetCapabilities</a></div><div class="ttdeci">ARM_ETH_MAC_CAPABILITIES(* GetCapabilities)(void)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_GetCapabilities : Get driver capabilities.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:287</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_a7fdea04bacd9c0e12792751055ef6238"><div class="ttname"><a href="group__eth__mac__interface__gr.html#a7fdea04bacd9c0e12792751055ef6238">ARM_ETH_MAC_CAPABILITIES::mac_address</a></div><div class="ttdeci">uint32_t mac_address</div><div class="ttdoc">1 = driver provides initial valid MAC address</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:273</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_abcdd3fdadfe2677b657e0a09f779788a"><div class="ttname"><a href="group__eth__mac__interface__gr.html#abcdd3fdadfe2677b657e0a09f779788a">ARM_DRIVER_ETH_MAC::SetMacAddress</a></div><div class="ttdeci">int32_t(* SetMacAddress)(const ARM_ETH_MAC_ADDR *ptr_addr)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_SetMacAddress : Set Ethernet MAC Address.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:292</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_ac3b9790428e186ea7809c7bdf32d2c66"><div class="ttname"><a href="group__eth__mac__interface__gr.html#ac3b9790428e186ea7809c7bdf32d2c66">ARM_DRIVER_ETH_MAC::PHY_Read</a></div><div class="ttdeci">int32_t(* PHY_Read)(uint8_t phy_addr, uint8_t reg_addr, uint16_t *data)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_PHY_Read : Read Ethernet PHY Register through Management Interface.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:301</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_ac9d6637a5cf6af0428dbf9a0bd70c26c"><div class="ttname"><a href="group__eth__mac__interface__gr.html#ac9d6637a5cf6af0428dbf9a0bd70c26c">ARM_DRIVER_ETH_MAC::Initialize</a></div><div class="ttdeci">int32_t(* Initialize)(ARM_ETH_MAC_SignalEvent_t cb_event)</div><div class="ttdoc">Pointer to ARM_ETH_MAC_Initialize : Initialize Ethernet MAC Device.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:288</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_structARM__DRIVER__ETH__MAC"><div class="ttname"><a href="group__eth__mac__interface__gr.html#structARM__DRIVER__ETH__MAC">ARM_DRIVER_ETH_MAC</a></div><div class="ttdoc">Access structure of the Ethernet MAC Driver.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:285</div></div>
<div class="ttc" id="agroup__eth__mac__interface__gr_html_structARM__ETH__MAC__CAPABILITIES"><div class="ttname"><a href="group__eth__mac__interface__gr.html#structARM__ETH__MAC__CAPABILITIES">ARM_ETH_MAC_CAPABILITIES</a></div><div class="ttdoc">Ethernet MAC Capabilities.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_MAC.h:261</div></div>
<div class="ttc" id="agroup__eth__phy__interface__gr_html_a075963ee0204bfe96ee500c90370d196"><div class="ttname"><a href="group__eth__phy__interface__gr.html#a075963ee0204bfe96ee500c90370d196">ARM_DRIVER_ETH_PHY::Initialize</a></div><div class="ttdeci">int32_t(* Initialize)(ARM_ETH_PHY_Read_t fn_read, ARM_ETH_PHY_Write_t fn_write)</div><div class="ttdoc">Pointer to ARM_ETH_PHY_Initialize : Initialize PHY Device.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_PHY.h:129</div></div>
<div class="ttc" id="agroup__eth__phy__interface__gr_html_a1ed7a1889ba8d4cd2ff02791a18b19db"><div class="ttname"><a href="group__eth__phy__interface__gr.html#a1ed7a1889ba8d4cd2ff02791a18b19db">ARM_DRIVER_ETH_PHY::SetMode</a></div><div class="ttdeci">int32_t(* SetMode)(uint32_t mode)</div><div class="ttdoc">Pointer to ARM_ETH_PHY_SetMode : Set Ethernet PHY Device Operation mode.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_PHY.h:134</div></div>
<div class="ttc" id="agroup__eth__phy__interface__gr_html_a24ebae5c6011631f76027f9a16eaf5ce"><div class="ttname"><a href="group__eth__phy__interface__gr.html#a24ebae5c6011631f76027f9a16eaf5ce">ARM_DRIVER_ETH_PHY::PowerControl</a></div><div class="ttdeci">int32_t(* PowerControl)(ARM_POWER_STATE state)</div><div class="ttdoc">Pointer to ARM_ETH_PHY_PowerControl : Control PHY Device Power.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_PHY.h:132</div></div>
<div class="ttc" id="agroup__eth__phy__interface__gr_html_a8e20e8e50e3acaa52c8c9039b1e4d281"><div class="ttname"><a href="group__eth__phy__interface__gr.html#a8e20e8e50e3acaa52c8c9039b1e4d281">ARM_DRIVER_ETH_PHY::GetLinkInfo</a></div><div class="ttdeci">ARM_ETH_LINK_INFO(* GetLinkInfo)(void)</div><div class="ttdoc">Pointer to ARM_ETH_PHY_GetLinkInfo : Get Ethernet PHY Device Link information.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_PHY.h:136</div></div>
<div class="ttc" id="agroup__eth__phy__interface__gr_html_a9d26ef49db500c351debea73257d2dcf"><div class="ttname"><a href="group__eth__phy__interface__gr.html#a9d26ef49db500c351debea73257d2dcf">ARM_DRIVER_ETH_PHY::SetInterface</a></div><div class="ttdeci">int32_t(* SetInterface)(uint32_t interface)</div><div class="ttdoc">Pointer to ARM_ETH_PHY_SetInterface : Set Ethernet Media Interface.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_PHY.h:133</div></div>
<div class="ttc" id="agroup__eth__phy__interface__gr_html_ad3ed7f0f95328d4a0224e44b04ad0163"><div class="ttname"><a href="group__eth__phy__interface__gr.html#ad3ed7f0f95328d4a0224e44b04ad0163">ARM_DRIVER_ETH_PHY::GetLinkState</a></div><div class="ttdeci">ARM_ETH_LINK_STATE(* GetLinkState)(void)</div><div class="ttdoc">Pointer to ARM_ETH_PHY_GetLinkState : Get Ethernet PHY Device Link state.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_PHY.h:135</div></div>
<div class="ttc" id="agroup__eth__phy__interface__gr_html_structARM__DRIVER__ETH__PHY"><div class="ttname"><a href="group__eth__phy__interface__gr.html#structARM__DRIVER__ETH__PHY">ARM_DRIVER_ETH_PHY</a></div><div class="ttdoc">Access structure of the Ethernet PHY Driver.</div><div class="ttdef"><b>Definition:</b> Driver_ETH_PHY.h:127</div></div>
<div class="ttc" id="agroup__eth__phy__mode__ctrls_html_ga6a8c54f8fed3e5f68bd04eb715d10ab9"><div class="ttname"><a href="group__eth__phy__mode__ctrls.html#ga6a8c54f8fed3e5f68bd04eb715d10ab9">ARM_ETH_PHY_AUTO_NEGOTIATE</a></div><div class="ttdeci">#define ARM_ETH_PHY_AUTO_NEGOTIATE</div><div class="ttdoc">Auto Negotiation mode.</div></div>
<div class="ttc" id="agroup__execution__status_html_ga85752c5de59e8adeb001e35ff5be6be7"><div class="ttname"><a href="group__execution__status.html#ga85752c5de59e8adeb001e35ff5be6be7">ARM_DRIVER_OK</a></div><div class="ttdeci">#define ARM_DRIVER_OK</div><div class="ttdoc">Operation succeeded.</div></div>
</div><!-- fragment --> <hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structARM__ETH__LINK__INFO" id="structARM__ETH__LINK__INFO"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structARM__ETH__LINK__INFO">&#9670;&#160;</a></span>ARM_ETH_LINK_INFO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct ARM_ETH_LINK_INFO</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Ethernet link information. </p>
<p>The Ethernet Link information provides parameters about the current established communication.</p>
<p><b>Returned by:</b></p><ul>
<li><a class="el" href="group__eth__phy__interface__gr.html#ga8c79dcd7a12656403f3befab3c8605a2">ARM_ETH_PHY_GetLinkInfo</a> </li>
</ul>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a220859a8b5da0232739a11cbe7f79fc5" name="a220859a8b5da0232739a11cbe7f79fc5"></a>uint32_t</td>
<td class="fieldname">
speed: 2</td>
<td class="fielddoc">
Link speed: 0= 10 MBit, 1= 100 MBit, 2= 1 GBit. </td></tr>
<tr><td class="fieldtype">
<a id="a44b6cae894d7311dcdae7e93969c3c09" name="a44b6cae894d7311dcdae7e93969c3c09"></a>uint32_t</td>
<td class="fieldname">
duplex: 1</td>
<td class="fielddoc">
Duplex mode: 0= Half, 1= Full. </td></tr>
<tr><td class="fieldtype">
<a id="aa43c4c21b173ada1b6b7568956f0d650" name="aa43c4c21b173ada1b6b7568956f0d650"></a>uint32_t</td>
<td class="fieldname">
reserved: 29</td>
<td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a name="structARM__ETH__MAC__ADDR" id="structARM__ETH__MAC__ADDR"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structARM__ETH__MAC__ADDR">&#9670;&#160;</a></span>ARM_ETH_MAC_ADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct ARM_ETH_MAC_ADDR</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Ethernet MAC Address. </p>
<p>Stores the MAC Address of the Ethernet interface as defined by IEEE 802. Wikipedia offers more information about the <a href="https://en.wikipedia.org/wiki/MAC_address" target="_blank"><b>MAC Address</b></a>.</p>
<p><b>Parameter for:</b></p><ul>
<li><a class="el" href="group__eth__mac__interface__gr.html#ga66308c1e791952047e974bd653037fae">ARM_ETH_MAC_GetMacAddress</a>, <a class="el" href="group__eth__mac__interface__gr.html#ga7cc3d17c7312c5032202dfd9a915f24a">ARM_ETH_MAC_SetMacAddress</a>, <a class="el" href="group__eth__mac__interface__gr.html#ga150fe30290275a4b32756f94208124e8">ARM_ETH_MAC_SetAddressFilter</a> </li>
</ul>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ab590318ac859d0e57e15c3dd6c62a605" name="ab590318ac859d0e57e15c3dd6c62a605"></a>uint8_t</td>
<td class="fieldname">
b[6]</td>
<td class="fielddoc">
MAC Address (6 bytes), MSB first. </td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gacf7db5320eb841b462a4af3c56cc9291" name="gacf7db5320eb841b462a4af3c56cc9291"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacf7db5320eb841b462a4af3c56cc9291">&#9670;&#160;</a></span>ARM_ETH_LINK_STATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__eth__interface__gr.html#gacf7db5320eb841b462a4af3c56cc9291">ARM_ETH_LINK_STATE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Ethernet link state. </p>
<p>The Ethernet Link status shows if the communication is currently established (up) or interrupted (down).</p>
<p><b>Returned by:</b></p><ul>
<li><a class="el" href="group__eth__phy__interface__gr.html#ga4085cd24ebe33b78d51a3c003da4a5ba">ARM_ETH_PHY_GetLinkState</a> </li>
</ul>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gacf7db5320eb841b462a4af3c56cc9291a5f635c9352db6cb6fa9ad95660850487" name="gacf7db5320eb841b462a4af3c56cc9291a5f635c9352db6cb6fa9ad95660850487"></a>ARM_ETH_LINK_DOWN&#160;</td><td class="fielddoc"><p>Link is down. </p>
</td></tr>
<tr><td class="fieldname"><a id="gacf7db5320eb841b462a4af3c56cc9291ab5e5b02c3c8a5a0fefcf69f3be7e31c1" name="gacf7db5320eb841b462a4af3c56cc9291ab5e5b02c3c8a5a0fefcf69f3be7e31c1"></a>ARM_ETH_LINK_UP&#160;</td><td class="fielddoc"><p>Link is up. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">
      <script type="text/javascript">
        <!--
        writeFooter.call(this);
        //-->
      </script> 
    </li>
  </ul>
</div>
</body>
</html>
